 package com.layne.jeasy.api.servicre.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.layne.jeasy.api.entity.Member;
import com.layne.jeasy.api.persistence.MemberMapper;
import com.layne.jeasy.api.servicre.MemberService;

/**
 * @author laynezhu
 * @date 2019/05/15
 */

@Service
public class MemberServiceImpl implements MemberService {

    @Resource
    private MemberMapper memberMapper;
    
    @Override
    public Member getMemberById(int id) {
        return memberMapper.selectByPrimaryKey(id);
    }

}
